package com.woniu.gf.pawn.management.client;

import com.woniu.gf.pawn.comm.core.dto.ResultDto;
import com.woniu.gf.pawn.management.param.SelectManagementByRoleIdParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * @BelongsProject: gf-pawn-system
 * @BelongsPackage: com.woniu.gf.pawn.management.client
 * @Author: wu wei
 * @CreateTime: 2020-10-16 12:12
 * @Description: 角色client
 */
@FeignClient("management-server")
public interface RoleClient {
    @GetMapping("/management/role/selectManagementByRoleId")
    public ResultDto selectManagementByRoleId(@SpringQueryMap @Valid SelectManagementByRoleIdParam selectManagementByRoleIdParam);

}
